pixelcache: allow widgets to always require cached content
authorChristian Hergert <christian@hergert.me>
Tue, 16 Jun 2015 23:46:24 +0000 (16:46 -0700)
committerChristian Hergert <christian@hergert.me>
Wed, 17 Jun 2015 01:08:22 +0000 (18:08 -0700)
commit6a2143ab31beaa69fb685a3db6882831fc372cc2
treecbaab48132ffa90ba412acf24950e0dad287872c
parent3665a17102b3d2c0b8289f6925dd71ce0e067c5e
pixelcache: allow widgets to always require cached content

Some widgets have very expensive drawing paths. So caching the content
can be useful even when not scrolling.

This can help speed up widgets that are part of animation sequences and
thereby go through spurious expose events.

https://bugzilla.gnome.org/show_bug.cgi?id=751082
gtk/gtkpixelcache.c
gtk/gtkpixelcacheprivate.h